home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / XCMDs / Movie Making Stack / Movie Making Stack / stack_-1.xml < prev    next >
Extensible Markup Language  |  1991-09-11  |  4KB  |  28 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>8</cardCount>
  7.     <cardID>10616</cardID>
  8.     <listID>2792</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>544</width>
  14.         <height>400</height>
  15.     </cardSize>
  16.     <script>on DisposeVideoglobal movieIDif movieID is not empty and movieID is a number thenQTMovie Direct,movieID,Disposeput empty into movieIDend ifend DisposeVideoon openStackLogoput empty into fooQTMovie versionput the result into vput "QTMovie: " & v into line 1 of fooQTPict versionput the result into vput "QTPict: " & v into line 2 of fooQTRecordMovie versionput the result into vput "QTRecordMovie: " & v into line 3 of fooQTEditMovie versionput the result into vput "QTEditMovie: " & v into line 4 of fooput foo into cd field versions of card 1buildPopUpend OpenStackon openCardbuildPopupend openCardon newCardbuildPopUpend newCardon buildPopUpglobal menuItemsput empty into menuItemsrepeat with i = 1 to the number of cardsget the short name of card iput it & "," after menuItemsend repeatdelete last char of menuItems -- the last commaend buildPopUpon GoCardglobal menuItemsif there is a window "live video" then send videoOff to window "live video"get PopUpMenu (menuItems, 0, bottom of the target, left of the target+1)if there is a window "live video" then send videoOn to window "live video"if it > 0 thengo card itend iflogoend GoCardon AllClipQTPict ClipTo,"0,0,1280,1280"end AllClipon CloseStackAllClipend CloseStackon moveWindowLogoend moveWindowon openCardLogoend openCardon LogoAllClipQTPict DIsplayPict,QTLogo,"4,4",rsrcQTPict DiffClip,"4,4,78,92"end Logoon mouseDownLogoend MouseDownon resumeStackLogoend resumeStackfunction ExtractFileName FileNameput ":" into Delimiterif Delimiter is in FileName thenrepeat with CharPos = length(FileName) down to 1if char CharPos of FileName = Delimiterthen return char CharPos+1 to length(FileName) of FileNameend repeatreturn emptyelsereturn FileNameend ifend ExtractFileNamefunction ExtractPathName FileNameput ":" into Delimiterrepeat with CharPos = length(FileName) down to 1if char CharPos of FileName = Delimiterthen return char 1 to CharPos of FileNameend repeatreturn emptyend ExtractPathNameon primefieldsrepeat with i = 1 to the number of cardsif there is a field fileName of card i thenput "Your Volume:Your Folder:Your File" into field filename of card iend ifend repeatend primefields</script>
  17.     <background id="6313" file="background_6313.xml" name="QTRecordMovie" />
  18.     <background id="10369" file="background_10369.xml" name="QuickTime Fun Stack" />
  19.     <card id="10616" file="card_10616.xml" marked="false" name="QuickTime" owner="10369" />
  20.     <card id="2403" file="card_2403.xml" marked="false" name="Info" owner="10369" />
  21.     <card id="6588" file="card_6588.xml" marked="false" name="Record Movie XCMD" owner="6313" />
  22.     <card id="8161" file="card_8161.xml" marked="false" name="Video Adjustments" owner="6313" />
  23.     <card id="6988" file="card_6988.xml" marked="false" name="Time Lapse" owner="6313" />
  24.     <card id="7274" file="card_7274.xml" marked="false" name="Stop Frame" owner="6313" />
  25.     <card id="7467" file="card_7467.xml" marked="false" name="Laser Disc" owner="6313" />
  26.     <card id="7683" file="card_7683.xml" marked="false" name="Live Grab" owner="6313" />
  27. </stack>
  28.